package de.sehversuche.pse.access;

import java.util.List;

import de.sehversuche.pse.model.PseCollection;
import de.sehversuche.pse.model.PseFolder;

/**
 * Data access api for collections.
 * 
 * @author Lars Heller
 * @version $Id$
 */
public interface PseCollectionDao {
	/**
	 * Load all collections. Answers a {@link List} of all root {@link PseCollection}s, retaining
	 * their original order. Each {@link PseCollection} is properly initialized with references
	 * to their children.
	 * 
	 * @return ordered {@link List} of {@link PseCollection}s
	 */
	List<PseFolder<PseCollection>> loadAllCollections();
}
